<%@ page import="java.util.List" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="com.ssm.vo.FileClassificationVo" %>
<%@ page import="java.util.Map" %><%--
  Created by IntelliJ IDEA.
  User: 周筠皓
  Date: 2024/12/19
  Time: 22:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>下载文件</title>
</head>
<body>
<br><br>
<%  HttpSession session1 = request.getSession();
    HashMap<String, List<FileClassificationVo>> map = (HashMap<String, List<FileClassificationVo>>) session1.getAttribute("ClassificationVoMap");
    for(Map.Entry<String, List<FileClassificationVo>> entry : map.entrySet()){

%>
<h2><%=entry.getKey()%>类型文件</h2>
<%      for(FileClassificationVo fileClassification : entry.getValue()){
%>          <a href="download?fileName=<%=fileClassification.getFileName()%>"><%=fileClassification.getFileName()%></a> 下载次数：<%=fileClassification.getTimes()%>次<br>
<%      }
%>

<% }
%>


</body>
</html>
